[PV-on-HVM]: Add missing includes
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 13 Aug 2007 15:41:04 +0000 (16:41 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 13 Aug 2007 15:41:04 +0000 (16:41 +0100)
This patch adds missing includes that currently work through indirect
inclusions.  This cannot be relied on and indeed does break on older
kernels (2.4 for PV-on-HVM).

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
unmodified_drivers/linux-2.6/platform-pci/machine_reboot.c

index bd58d2ceb5c4e8ba53c1df72c949af50fa36bb59..33c468d5941ae4355da92370530befd17501d2bb 100644 (file)
@@ -1,5 +1,6 @@
 #include <linux/config.h>
-#include <linux/stop_machine.h>
+#include <linux/cpumask.h>
+#include <linux/preempt.h>
 #include <xen/evtchn.h>
 #include <xen/gnttab.h>
 #include <xen/xenbus.h>